package LECONGHAU.OOP.EXCERCISE01.BAI1LAI;

import java.util.Scanner;

public class VIEWS {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String userName,passWord;
CONTROLLERS con=new CONTROLLERS();
System.out.println("nhap vao usename");
Scanner sc=new Scanner(System.in);
userName=sc.nextLine();
System.out.println("nhap vao password: ");
passWord=sc.nextLine();
UserEntity objuser=new UserEntity();
objuser.setUserName(userName);
objuser.setPassWord(passWord);
if(con.checklogin(objuser)){
	System.out.println("dang nhap thanh cong");
	return;
}
System.out.println("dang nhap that bai");
	}

}
